package org.esprit.ocm.client.model.ec2;

import com.smartgwt.client.data.RecordList;
import com.smartgwt.client.widgets.grid.ListGridRecord;

public class GroupRecord extends ListGridRecord {
	
	public GroupRecord() {
	}

	public String getName() {
		return getAttributeAsString("name");
	}

	public String getDescription() {
		return getAttributeAsString("description");
	}
	
	public String getOwner() {
		return getAttributeAsString("owner");
	}

	public void setName(String name) {
		setAttribute("name", name);
	}


	public void setDescription(String description) {
		setAttribute("description", description);
	}
	
	public void setOwner(String owner) {
		setAttribute("owner", owner);
	}
	
	public void setIpPerm(IpPerm ipPerm) {
		setAttribute("ipPerm", ipPerm);
	}
	
	public RecordList getIpPerm() {
		return getAttributeAsRecordList("ipPerm");
	}
	
	
}
